def sort_as_subsets(tuples, allitems) -> None: ...
def sort(tuples, allitems, deterministic_order: bool = ...) -> None: ...
def find_cycles(tuples, allitems): ...
